<template>
  <div>
    <!-- 
      不加冒号给的值，永远给的是字符串
     -->
    <!-- <my-goods title="广西螺蛳粉" price="99"/> -->

    <!-- 加冒号写数字，那就是真的给数字 -->
    <my-goods title="广西螺蛳粉" :price="99" />
  </div>
</template>

<script>
import MyGoods from './components/MyGoods.vue'
export default {
  components: {
    MyGoods
  }
}
</script>

<style></style>
